package de.justphil.tcg.tcgserver.game.mechanics.util.tools.datatypes;

import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;

import de.justphil.tcg.tcgserver.game.mechanics.game.Game;
import de.justphil.tcg.tcgserver.game.mechanics.game.GameDataSerializable;

public class SerializableInteger implements GameDataSerializable {
	private Integer i;
	
	public SerializableInteger() {
		this(0);
	}
	
	public SerializableInteger(int initialValue) {
		i = new Integer(initialValue);
	}
	
	public int intValue() {
		return i.intValue();
	}

	@Override
	public void writeData(Game game, DataOutput out) throws IOException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void readData(Game game, DataInput in) throws IOException {
		// TODO Auto-generated method stub
		
	}
}
